//
//  StartManager.swift
//  FlameB
//
//  Created by 连俊 on 2020/8/4.
//  Copyright © 2020 连俊. All rights reserved.
//

import UIKit

class StartManager: NSObject {
    static let shared = StartManager()
    
    private override init() {
        if let user = User.loadFromKC() {
            DBService.shared.openDB(with: user.userId)
        } else {
            DBService.shared.openDB(with: "0000")
        }
    }
}
